const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.avatar,
  name: state => state.user.userInfo.userName,
  roles: state => state.user.roles,
  isAppending: state => state.base.isAppending,
  permission_routes: state => state.permission.routes,
  selectOrderList: state => state.order.orderList.filter(item => item.checked)
}
export default getters
